using JTZY.Model.Business.Dto;
using JTZY.Model.Business;
using JTZY.Model.Financial.Dto;

namespace JTZY.Service.Business.IBusinessService
{
    /// <summary>
    /// 用户余额表service接口
    /// </summary>
    public interface ICorecmsuserbalanceService : IBaseService<Corecmsuserbalance>
    {
        PagedInfo<CorecmsuserbalanceDto> GetList(CorecmsuserbalanceQueryDto parm);

        Corecmsuserbalance GetInfo(int Id);


        Corecmsuserbalance AddCorecmsuserbalance(Corecmsuserbalance parm);
        int UpdateCorecmsuserbalance(Corecmsuserbalance parm);
        Task<WebApiCallBack> Change(long userId, int tocash, decimal money, string v, decimal cateMoney);

        PagedInfo<CorecmsuserbalanceDto> ExportList(CorecmsuserbalanceQueryDto parm);
    }
}
